<?php
require_once 'class/NHANVIEN.php';

function search($filters) {
	return NHANVIEN::Select($filters);
}

$server = new SoapServer(null, array('uri' => "urn://tyler/res")); 
$server->addFunction('search'); 
$server->handle(); 
?>